package com.dfbz.service.impl;

import com.dfbz.dao.DeptDao;
import com.dfbz.model.Dept;
import com.dfbz.service.DeptDaoServlet;

import java.util.List;
import java.util.Map;

public class DeptDaoServletImp implements DeptDaoServlet {

    private DeptDao deptDao=new DeptDao(Dept.class);

    @Override
    public List<Map<String, Object>> findAllDept() {
        return deptDao.findAllDept();
    }
}
